package com.xframe.domain.e3sp.bu.overseas;

import com.xframe.domain.BaseModel;
import com.xframe.xdal.core.annotation.AutoFill;
import com.xframe.xdal.core.annotation.XColumn;
import com.xframe.xdal.core.annotation.XTable;
import com.xframe.xdal.core.constant.AutoFillType;
import lombok.Data;
import lombok.experimental.Accessors;


/**
 * @Description: 分配日志
 * @ClassName: com.xframe.domain.e3sp.bu.overseas.AutoLog
 * @Author: xufeng
 * @CreateTime: 2024/5/10
 *
 **/
@Data
@Accessors(chain=true)
@XTable(value = "bu_t02_auto_log", label = "分配日志",dataSourceCode = "warehouse")
public class AutoLog extends BaseModel {

    /**
     * 分配日志ID
     */
    @AutoFill(AutoFillType.Snowflake)
    @XColumn(name = "auto_log_id", primaryKeyFlag = true,desc = "分配日志ID")
    private Long autoLogId;

    /**
     * 错误代码
     */
    @XColumn(name = "log_code",desc = "错误代码",length = 20)
    private String logCode;

    /**
     * 错误原因
     */
    @XColumn(name = "log_remark",desc = "错误原因",length = 1000)
    private String remark;

    /**
     * 分配类别
     */
    @XColumn(name = "log_type",desc = "分配类别",length = 20)
    private String logType;

    /**
     * 海外订单ID
     */
    @XColumn(name = "order_id",desc = "海外订单ID")
    private Long orderId;

    /**
     * 海外订单明细ID
     */
    @XColumn(name = "order_detail_id",desc = "海外订单明细ID")
    private Long orderDetailId;

    /**
     * 订单号
     */
    @XColumn(name = "order_no",desc = "订单号",length = 50)
    private String order_no;
}
